<template>
  <div class="q-pa-md">
    <t-badge color="secondary" class="q-mb-lg">
      Model: {{ label.min }} to {{ label.max }} (-20 to 20, step 4)
    </t-badge>

    <t-range
      v-model="label"
      :min="-20"
      :max="20"
      :step="4"
      label-always
      color="brown"
    />
  </div>
</template>

<script>
  import { ref } from 'vue';

  export default {
    setup() {
      return {
        label: ref({
          min: -12,
          max: 8,
        }),
      };
    },
  };
</script>
